<%--
  Created by IntelliJ IDEA.
  User: guo
  Date: 2018/3/21
  Time: 10:02
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
  <title>增添国家信息信息</title>
</head>
<body>
<h1 align="center">增添国家信息</h1>


<form action="${pageContext.request.contextPath}/app/addCountryMessage">
  <table align="center">
    <tr>
      <td>Code</td>
      <td><input type="text" name="code" value=""></td>
    </tr>
    <tr>
      <td>Name</td>
      <td><input type="text" name="name" value=""></td>
    </tr>
    <tr>
      <td>Region</td>
      <td><input type="text" name="region" value=""></td>
    </tr>
    <tr>
      <td>SurfaceArea</td>
      <td><input type="text" name="surfaceArea" value=""></td>
    </tr>
    <tr>
      <td>IndepYear</td>
      <td><input type="text" name="indepYear" value=""></td>
    </tr>
    <tr>
      <td>Population</td>
      <td><input type="text" name="population" value=""></td>
    </tr>
    <tr>
      <td>LifeExpectancy</td>
      <td><input type="text" name="lifeExpectancy" value=""></td>
    </tr>
    <tr>
      <td>GNP</td>
      <td><input type="text" name="gNP" value=""></td>
    </tr>
    <tr>
      <td>HeadOfState</td>
      <td><input type="text" name=" headOfState" value=""></td>
    </tr>
    <tr>
      <td>Capital</td>
      <td><input type="text" name="capital" value=""></td>
    </tr>
    <tr>
      <td>Code2</td>
      <td><input type="text" name="code2" value=""></td>
    </tr>
    <tr>
      <td><input type="submit" value="提交"></td>
      <td><input type="button" value="退出"
                 onclick="javascript:window.location.href ='${pageContext.request.contextPath}/app/findAll'"></td>
    </tr>
  </table>


</form>
</body>
</html>
